﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ObjectUsersLog.aspx.cs"
    Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <!--#include virtual="include/Head.ascx"-->

</head>
<body>
    <div id="body-wrapper">
        <div id="header">
            <!--#include virtual="include/top.ascx"-->
        </div>
        <div id="main-content1">
            <h2>
                Log By Object : <%Response.Write(strObject); %></h2>
            <div class="clear">
            </div>
            <div class="content-box">
                <form id="frmEdit" runat="server">
                    <div class="content-box-header">
                        <h3 style="cursor: s-resize;">
                            List users &nbsp;
                        </h3>
                        <div class="clear">
                        </div>
                    </div>
                   <fieldset>
                        <asp:Repeater ID="rptData" runat="server">
                            <ItemTemplate>
                                <tr onmouseover="this.style.background='#dbf0c9'" onmouseout="this.style.background='#ffffff'">
                                    <td align="center">
                                        <%# DataBinder.Eval(Container.DataItem, "Index")%>
                                        <asp:HiddenField ID="ID" runat="server" Value='<%# DataBinder.Eval(Container.DataItem, "ID")%>'>
                                        </asp:HiddenField>
                                    </td>
                                    <td align="center">
                                        <%# DataBinder.Eval(Container.DataItem, "UserName") %>
                                    </td>
                                    <td align="center">
                                        <%# DataBinder.Eval(Container.DataItem, "ActionAdd") %>
                                    </td>
                                    <td align="center">
                                        <%# DataBinder.Eval(Container.DataItem, "ActionEdit") %>
                                    </td>
                                    <td align="center">
                                        <%# DataBinder.Eval(Container.DataItem, "ActionDelete") %>
                                    </td>
                                     <td align="center">
                                        <%# DataBinder.Eval(Container.DataItem, "LogByObject") %>
                                    </td>
                                </tr>
                            </ItemTemplate>
                            <HeaderTemplate>
                                <table class="adminlist" cellspacing="0" cellpadding="0" style="width: 50%; border: 0px;">
                                    <thead>
                                        <tr>
                                            <th align="center" width="30px">
                                                Index
                                            </th>
                                            <th align="center">
                                                User Name
                                            </th>
                                            <th align="center">
                                                Action Add                                               
                                            </th>
                                            <th align="center">
                                                Action Edit                                               
                                            </th>
                                            <th align="center">
                                                Action Delete                                               
                                            </th>
                                            <th align="center">
                                                Log by User
                                            </th>
                                        </tr>
                                    </thead>
                            </HeaderTemplate>
                            <FooterTemplate>
                                </TABLE>
                            </FooterTemplate>
                        </asp:Repeater>
                    </fieldset>
                    <div style="margin: 5px;">                        
                        &nbsp;<input type="button" id="Back" value="Back" class="button" onclick="window.location.href='AdminUserList.aspx';" />                        
                    </div>
                </form>
            </div>
           <div id="footer">
                        <%=strPager%>
                    </div>
        </div>
    </div>
</body>
</html>
